<%@ page language="java" contentType="text/html; charset=UTF-8" %>

<%@ include file="/jsplib/pubhead.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>管理中心登陆 V3.0</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="css/admin.css" type="text/css" rel="stylesheet">
</HEAD>
<BODY onload=document.frmLogin.nick.focus();>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" bgColor=#002779 
border=0>
  <TR>
    <TD align=middle>
      <TABLE cellSpacing=0 cellPadding=0 width=468 border=0>
        <TR>
          <TD><IMG height=23 src="images/login_1.jpg" 
          width=468></TD></TR>
        <TR>
          <TD><IMG height=147 src="images/login_2.jpg" 
            width=468></TD></TR></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=468 bgColor=#ffffff border=0>
        <TR>
          <TD width=16><IMG height=122 src="images/login_3.jpg" 
            width=16></TD>
          <TD align=middle>
            <TABLE cellSpacing=0 cellPadding=0 width=230 border=0>
              <FORM name=frmLogin onsubmit="return doCommit();" action="<%=path%>/login" method=post>

              <TR height=26>
                <TD></TD>
                <TD>用户名</TD>
                <TD><INPUT 
                  style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" 
                  maxLength=100 size=22 value="" name=nick></TD></TR>
              <TR height=26>
                <TD>&nbsp; </TD>
                <TD>口　令</TD>
                <TD><INPUT 
                  style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" 
                  type=password maxLength=8 size=12 value="" 
                name="password"></TD></TR>
              <TR height=26>
                <TD>&nbsp; </TD>
                <TD>验证码</TD>
                <TD><INPUT 
                  style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" 
                  type=text maxLength=5 size=5 value="" 
                name=certno>&nbsp;&nbsp;<IMG src="${cpath}/verify/makeCertPic.jsp" ></TD></TR>
              <TR height=5>
                <TD colSpan=3></TD></TR>

              <TR>
                <TD>
				<INPUT type="hidden" name="nexturl" value="${cpath}/admin/adindex.jsp">
								</TD>
                <TD>&nbsp;</TD>
                <TD>
				<INPUT type=button value="登  录" style="width:100px;" onclick="javascript:doCommit();">
				</TD></TR></FORM></TABLE></TD>
          <TD width=16><IMG height=122 src="images/login_4.jpg" 
            width=16></TD></TR></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=468 border=0>
        <TR>
          <TD><IMG height=16 src="images/login_5.jpg" 
          width=468></TD></TR></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=468 border=0>
        <TR>
          <TD align=right><A href="#" target=_blank><IMG 
            height=26 src="images/login_6.gif" width=165 
            border=0></A></TD></TR></TABLE></TD></TR></TABLE></BODY></HTML>

<script language="javascript">

function doCommit()
{
	if(gook())
  {
     document.frmLogin.submit();
  }
}
function gook() {

	var form = document.frmLogin;
	var nick		= form['nick'];
	var password	= form['password'];

	if(nick.value == "")
	{
		alert("请输入用户名");
		nick.select();
		return false;
	}

	if(password.value == "")
	{
		alert("请输入密码");
		password.select();
		return false;
	}

	return true;
}
</script>
